package cn.gaozhong.org.domain;

import cn.gaozhong.basic.domain.BaseDomain;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class Department extends BaseDomain {
    private String sn;
    private String name;
    private String dirPath;
    private Integer state;
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private List<Department> children = new ArrayList<>();
    private Employee employee;
    private Long manager_id;
    private Long parent_id;
    private Department parent;
    private Long shop_id;

}
